{include file="header.html"}
<div> 
{include file='district/nav.html'}
<div class="pd-5"> 
{if $parent}
&lt;&lt;<a href="{$appadmin}?m=district&upid={$parent.id}">{$upname}</a>
{else}
地区编辑
{/if}
</div>
 <table class='table table-bordered' width='100%'>
  <tr>
   <td>id</td>
   <td>name</td>
   <td>level</td>
   <td>usetype</td>
   <td>upid</td>
   <td>displayorder</td>
<td>操作</td>
  </tr>
 {foreach item=c from=$data}
<tr>
   <td>{$c.id}</td>
   <td><a href="{$appadmin}?m=district&upid={$c.id}">{$c.name}</a></td>
   <td>{$c.level}</td>
   <td>{$c.usetype}</td>
   <td>{$c.upid}</td>
   <td>{$c.displayorder}</td>
<td>
<a href="{$appadmin}?m=district&a=addchild&upid={$c.id}">添加下级</a>
<a href="{$appadmin}?m=district&a=add&id={$c.id}">编辑</a>  
<a href="javascript:;" class="delete" url="{$appadmin}?m=district&a=delete&id={$c.id}">删除</a></td>
  </tr>
   {/foreach}
 </table>
<div>{$pagelist}</div>
</div> 
{include file="footer.html"}